package com.bridgeintelligent.tag.webserver.workflow.repository;

import com.bridgeintelligent.tag.webserver.workflow.Workflow;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WorkflowMapper {
    void save(Workflow workflow);

    Workflow findOne(@Param("id") String id);

    Page<Workflow> findAll(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
}
